<template>
  <div id="app">
    <el-container>
      <el-header>基于深度学习的流域水位确定性水位预测系统</el-header>
      <el-container>
        <el-aside width="200px"><Sidebar /></el-aside>
        <el-main><router-view /></el-main>
      </el-container>
    </el-container>
  </div>
</template>

<script>
// import HelloWorld from './components/HelloWorld.vue'
import Sidebar from "./components/side_bar.vue";

export default {
  name: "App",
  components: {
    Sidebar,
  },
};
</script>

<style>
html,
body,
#app {
  font-family: Avenir, Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-align: center;
  color: #2c3e50;
  margin: 0px;
}
.el-header {
  position: relative;
  padding: 0;
  width: 100%;
  height: 60px;
  background-color: #545c64;
  color: #fff;
  font-size: 20px;
  line-height: 25px;
  text-align: left;
  display: flex;
  align-items: center;
}
.el-aside {
  display: block;
  position: absolute;
  left: 0;
  top: 60px;
  bottom: 0;
}
.el-main {
  position: absolute;
  left: 200px;
  right: 0;
  top: 60px;
  bottom: 0;
  overflow-y: scroll;
}
</style>
